/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package sharefileinterface;

import java.io.Serializable;

/**
 *
 * @author anwedo
 */
public class FileShared implements Serializable{
    private int fid;
    private String filename;
    private String sender;
    private String type;
    private long size;

    public FileShared() {
    }


    public FileShared(int fid, String filename, String sender, String type, long size) {
        this.fid = fid;
        this.filename = filename;
        this.sender = sender;
        this.type = type;
        this.size = size;
    }

    public int getFid() {
        return fid;
    }

    public void setFid(int fid) {
        this.fid = fid;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }
    //new update
    
    public FileShared( String filename, long size) {        
        this.filename = filename;
        this.size = size;
    }
}
